package com.bit.strongbaby;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.view.animation.TranslateAnimation;
import android.widget.ImageView;

public class Growsub3_1Activity extends Activity {
	ImageView img1;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_growsub3);
		
		img1 = (ImageView)findViewById(R.id.img11);
		
				TranslateAnimation ani = new TranslateAnimation(0,1100,0,0);
				ani.setDuration(10000);
				ani.setRepeatCount(5);
				ani.setRepeatMode(Animation.REVERSE);
				img1.startAnimation(ani);

	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.growsub3, menu);
		return true;
	}

}
